package com.wang.service.impl;


import com.wang.bean.Singlechoice;
import com.wang.mapper.SinglechoiceMapper;
import com.wang.service.SinglechoiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
class SinglechoiceServiceImpl implements SinglechoiceService {

    @Autowired
    private SinglechoiceMapper singlechoiceMapper;


    @Override
    public List<Singlechoice> listAll() {
        return singlechoiceMapper.listAll();
    }

    @Override
    public void addSinglechoice(Singlechoice s) {
        singlechoiceMapper.addSinglechoice(s);

    }

    @Override
    public void delSinglechoice(Singlechoice s) {

    }

    @Override
    public void updateSinglechoice(Singlechoice s) {

    }

    @Override
    public Singlechoice selectoneSinglechoice(Singlechoice s) {
        return null;
    }

    @Override
    public Singlechoice checkSinglechoice(Singlechoice s) {
        return singlechoiceMapper.checkSinglechoice(s);
    }
}